package com.neusoft.service.impl;

import com.neusoft.mapper.DrugMapper;
import com.neusoft.service.DrugService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class DrugServiceImpl implements DrugService {
    @Autowired
    DrugMapper drugMapper;
    @Override
    public List<Map<String,Object>> searchDrug(String drugName, String mnemonicCode) {
        return drugMapper.searchDrugName(drugName,mnemonicCode);

    }

}
